package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Question;
import cn.wolfcode.trip.base.query.QuestionQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IQuestionService {

    PageInfo selectForList(QuestionQuery qo);

    List<Question> listAll();

    Question get(Long id);

    void saveQuestion(Question question, Long questionerId);

}
